const prodPlugins = []
if (process.env.NODE_ENV === 'production' && process.env.VUE_APP_OpenLog === 0) {
  prodPlugins.push('transfrom-remove-console')
}
module.exports = {
  presets: ['@vue/app'],
  plugins: [
    ...prodPlugins,
    '@babel/plugin-syntax-dynamic-import'
  ]
}
